/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package entity.support;

/**
 *
 * @author dell
 * @param <A>
 * @param <B>
 */
public class KeyValue <K,V>
{
//columns_______________________________________________________________________
private K key;
private V value;
//functions_____________________________________________________________________
     //constructor______________________________________________________________
public KeyValue()
{
     
}
public KeyValue(K key,V value)
{
     this.key=key;
     this.value=value;
}
     //getter___________________________________________________________________
public K getKey() 
{
     return key;
}
public V getValue() 
{
     return value;
}
     //setter___________________________________________________________________
public void setKey(K key) 
{
     this.key = key;
}
public void setValue(V value) 
{
     this.value = value;
}
     //toString_________________________________________________________________
@Override
public String toString()
{
     return key+"\t"+value;
}
}
